package com.cs.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 抽取申请对象 cs_applications
 * 
 * @author ruoyi
 * @date 2024-12-03
 */
public class CsApplications extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 抽取申请ID */
    private Long xid;

    /** 评标ID */
    @Excel(name = "评标ID")
    private Long pbId;

    /** 申请编号 */
    @Excel(name = "申请编号")
    private String applicationNumber;

    /** 招标项目名称 */
    @Excel(name = "招标项目名称")
    private String pName;

    /** 专家确定方式 */
    @Excel(name = "专家确定方式")
    private Long confMethod;

    /** 资格审查类型 */
    @Excel(name = "资格审查类型")
    private Long reviewType;

    /** 评标开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "评标开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 评标结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "评标结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 专家人数 */
    @Excel(name = "专家人数")
    private Long count;

    /** 采购方代表人数 */
    @Excel(name = "采购方代表人数")
    private Long purchaseCount;

    /** 评标地点 */
    @Excel(name = "评标地点")
    private String address;

    /** 招标项目ID */
    @Excel(name = "招标项目ID")
    private String iNumber;
    public void setXid(Long xid) 
    {
        this.xid = xid;
    }

    public Long getXid() 
    {
        return xid;
    }
    public void setPbId(Long pbId) 
    {
        this.pbId = pbId;
    }

    public Long getPbId() 
    {
        return pbId;
    }
    public void setApplicationNumber(String applicationNumber) 
    {
        this.applicationNumber = applicationNumber;
    }

    public String getApplicationNumber() 
    {
        return applicationNumber;
    }
    public void setpName(String pName) 
    {
        this.pName = pName;
    }

    public String getpName() 
    {
        return pName;
    }
    public void setConfMethod(Long confMethod) 
    {
        this.confMethod = confMethod;
    }

    public Long getConfMethod() 
    {
        return confMethod;
    }
    public void setReviewType(Long reviewType) 
    {
        this.reviewType = reviewType;
    }

    public Long getReviewType() 
    {
        return reviewType;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setCount(Long count) 
    {
        this.count = count;
    }

    public Long getCount() 
    {
        return count;
    }
    public void setPurchaseCount(Long purchaserCount)
    {
        this.purchaseCount = purchaserCount;
    }

    public Long getPurchaseCount()
    {
        return purchaseCount;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public String getiNumber() {
        return iNumber;
    }

    public void setiNumber(String iNumber) {
        this.iNumber = iNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("xid", getXid())
            .append("pbId", getPbId())
            .append("applicationNumber", getApplicationNumber())
            .append("pName", getpName())
            .append("confMethod", getConfMethod())
            .append("reviewType", getReviewType())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("count", getCount())
            .append("purchaseCount", getPurchaseCount())
            .append("address", getAddress())
            .append("iNumber", getiNumber())
            .toString();
    }
}